package com.zk.atm.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * AtmpDevice entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class AtmpDevice extends BaseVo implements java.io.Serializable {

	// Fields
	private String device_id;
	//private AtmpDeviceType atmpDeviceType;
	private String device_code;
	private String device_name;
	private String device_ip;
	private String device_type_id;
	private String device_type_code;
	//设备类型表的type_code,在设备列表中,显示其所属类型的code,及name
	private String type_code;
	private String type_name;
	private String device_type_name;
	private String belong_org_id;
	private String belong_org_name;
	private String belong_org_code;
	private Date purch_date;
	private Long provider_id;
	private String provider_name;
	private String provider_phone;
	private String is_use;
	private String is_dump;
	private Long create_user_id;
	private String create_user_name;
	private Date create_date;
	private Long update_user_id;
	private String update_user_name;
	private Date update_date;
	private String standby_column1;
	private String standby_column2;
	private String standby_column3;
	
//	private Set atmpDeviceStatusCurrents = new HashSet(0);
//	private Set atmpDeviceStatusHistories = new HashSet(0);

	// Constructors

	public AtmpDevice(String device_id, AtmpDeviceType atmpDeviceType,
			String device_code, String device_name, String device_ip,
			String device_type_id, String device_type_code,
			String device_type_name, String belong_org_id,
			String belong_org_name, String belong_org_code, Date purch_date,
			Long provider_id, String provider_name, String provider_phone,
			String is_use, String is_dump, Long create_user_id,
			String create_user_name, Date create_date, Long update_user_id,
			String update_user_name, Date update_date, String standby_column1,
			String standby_column2, String standby_column3,String type_code,String type_name) {
		super();
		this.device_id = device_id;
		//this.atmpDeviceType = atmpDeviceType;
		this.device_code = device_code;
		this.device_name = device_name;
		this.device_ip = device_ip;
		this.device_type_id = device_type_id;
		this.device_type_code = device_type_code;
		this.device_type_name = device_type_name;
		this.belong_org_id = belong_org_id;
		this.belong_org_name = belong_org_name;
		this.belong_org_code = belong_org_code;
		this.purch_date = purch_date;
		this.provider_id = provider_id;
		this.provider_name = provider_name;
		this.provider_phone = provider_phone;
		this.is_use = is_use;
		this.is_dump = is_dump;
		this.create_user_id = create_user_id;
		this.create_user_name = create_user_name;
		this.create_date = create_date;
		this.update_user_id = update_user_id;
		this.update_user_name = update_user_name;
		this.update_date = update_date;
		this.standby_column1 = standby_column1;
		this.standby_column2 = standby_column2;
		this.standby_column3 = standby_column3;
		this.type_code=type_code;
		this.type_name=type_name;
//		this.atmpDeviceStatusCurrents = atmpDeviceStatusCurrents;
//		this.atmpDeviceStatusHistories = atmpDeviceStatusHistories;
	}

	/** default constructor */
	public AtmpDevice() {
	}

	/** full constructor */
	

	// Property accessors
//	public AtmpDeviceType getAtmpDeviceType() {
//		return this.atmpDeviceType;
//	}
//
//	public void setAtmpDeviceType(AtmpDeviceType atmpDeviceType) {
//		this.atmpDeviceType = atmpDeviceType;
//	}
      
	public String getDevice_id() {
		return device_id;
	}

	public void setDevice_id(String device_id) {
		this.device_id = device_id;
	}

	public String getDevice_code() {
		return device_code;
	}

	public void setDevice_code(String device_code) {
		this.device_code = device_code;
	}

	public String getDevice_name() {
		return device_name;
	}

	public void setDevice_name(String device_name) {
		this.device_name = device_name;
	}

	public String getDevice_ip() {
		return device_ip;
	}

	public void setDevice_ip(String device_ip) {
		this.device_ip = device_ip;
	}

	public String getDevice_type_id() {
		return device_type_id;
	}

	public void setDevice_type_id(String device_type_id) {
		this.device_type_id = device_type_id;
	}

	public String getDevice_type_code() {
		return device_type_code;
	}

	public void setDevice_type_code(String device_type_code) {
		this.device_type_code = device_type_code;
	}

	public String getDevice_type_name() {
		return device_type_name;
	}

	public void setDevice_type_name(String device_type_name) {
		this.device_type_name = device_type_name;
	}

	public String getBelong_org_id() {
		return belong_org_id;
	}

	public void setBelong_org_id(String belong_org_id) {
		this.belong_org_id = belong_org_id;
	}

	public String getBelong_org_name() {
		return belong_org_name;
	}

	public void setBelong_org_name(String belong_org_name) {
		this.belong_org_name = belong_org_name;
	}

	public String getBelong_org_code() {
		return belong_org_code;
	}

	public void setBelong_org_code(String belong_org_code) {
		this.belong_org_code = belong_org_code;
	}

	public Date getPurch_date() {
		return purch_date;
	}

	public void setPurch_date(Date purch_date) {
		this.purch_date = purch_date;
	}

	public Long getProvider_id() {
		return provider_id;
	}

	public void setProvider_id(Long provider_id) {
		this.provider_id = provider_id;
	}

	public String getProvider_name() {
		return provider_name;
	}

	public void setProvider_name(String provider_name) {
		this.provider_name = provider_name;
	}

	public String getProvider_phone() {
		return provider_phone;
	}

	public void setProvider_phone(String provider_phone) {
		this.provider_phone = provider_phone;
	}

	public String getIs_use() {
		return is_use;
	}

	public void setIs_use(String is_use) {
		this.is_use = is_use;
	}

	public String getIs_dump() {
		return is_dump;
	}

	public void setIs_dump(String is_dump) {
		this.is_dump = is_dump;
	}

	public Long getCreate_user_id() {
		return create_user_id;
	}

	public void setCreate_user_id(Long create_user_id) {
		this.create_user_id = create_user_id;
	}

	public String getCreate_user_name() {
		return create_user_name;
	}

	public void setCreate_user_name(String create_user_name) {
		this.create_user_name = create_user_name;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

	public Long getUpdate_user_id() {
		return update_user_id;
	}

	public void setUpdate_user_id(Long update_user_id) {
		this.update_user_id = update_user_id;
	}

	public String getUpdate_user_name() {
		return update_user_name;
	}

	public void setUpdate_user_name(String update_user_name) {
		this.update_user_name = update_user_name;
	}

	public Date getUpdate_date() {
		return update_date;
	}

	public void setUpdate_date(Date update_date) {
		this.update_date = update_date;
	}

	public String getStandby_column1() {
		return standby_column1;
	}

	public void setStandby_column1(String standby_column1) {
		this.standby_column1 = standby_column1;
	}

	public String getStandby_column2() {
		return standby_column2;
	}

	public void setStandby_column2(String standby_column2) {
		this.standby_column2 = standby_column2;
	}

	public String getStandby_column3() {
		return standby_column3;
	}

	public void setStandby_column3(String standby_column3) {
		this.standby_column3 = standby_column3;
	}
	
	public String toString(){
		return "[device_id ="+ device_id
		+",device_code ="+ device_code
		+",device_name ="+ device_name
		+",device_ip ="+ device_ip
		+",device_type_id ="+ device_type_id
		+",device_type_code ="+ device_type_code
		+",device_type_name ="+ device_type_name
		+",belong_org_id ="+ belong_org_id
		+",belong_org_name ="+ belong_org_name
		+",belong_org_code ="+ belong_org_code
		+",purch_date ="+ purch_date
		+",provider_id ="+ provider_id
		+",provider_name ="+ provider_name
		+",provider_phone ="+ provider_phone
		+",is_use ="+ is_use
		+",is_dump ="+ is_dump
		+",create_user_id ="+ create_user_id
		+",create_user_name ="+ create_user_name
		+",create_date ="+ create_date
		+",update_user_id ="+ update_user_id
		+",update_user_name ="+ update_user_name
		+",update_date ="+ update_date
		+",standby_column1 ="+ standby_column1
		+",standby_column2 ="+ standby_column2
		+",standby_column3 ="+ standby_column3+"]";
	}

	public String getType_code() {
		return type_code;
	}

	public void setType_code(String type_code) {
		this.type_code = type_code;
	}

	public String getType_name() {
		return type_name;
	}

	public void setType_name(String type_name) {
		this.type_name = type_name;
	}

}